<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>仓库管理</title>
    <link href="/plugins/layui/css/layui.css" rel="stylesheet" type="text/css"/>

</head>
<body>
<!-- 头部查询区域 -->
<div style="margin: 10px 0 0 10px">
    <form class="layui-form layui-col-space5">
        用户名：
        <div class="layui-inline">
            <input id="searchName" type="text" name="name" class="layui-input"/>
        </div>
        <input type="button" id="searchBtn" class="layui-btn" lay-submit lay-filter="searchBtn" value="查询"/>
        <input type="button" id="addBtn" class="layui-btn"  value="新增"/>
    </form>

</div>

<!-- 显示数据列表区域 -->
<div>
    <table id="storeTable" lay-filter="storeTable"></table>
</div>

<!-- 显示数据列表区域 -->
<script id="productTable1" type="text/html">
    <div>
         <table id="productTable" lay-filter="productTable"></table>
    </div>
</script>


<!-- 表格操作工具条模版 -->
<script id="productTable2" type="text/html">
    <input type="button" value="购入" lay-event="gr" class="layui-btn layui-btn-xs"/>
    <input type="button" value="售出" lay-event="sc" class="layui-btn layui-btn-xs"/>
    <input type="button" value="调拨" lay-event="db" class="layui-btn layui-btn-xs layui-btn-danger"/>
</script>
<script id="change1" type="text/html">
    <form class="layui-form" action="" style="padding: 20px" id="change1Form" lay-filter="storeForm" >
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">数量</label>
            <div class="layui-input-inline">
                <input type="number" name="num1" id="num1"  autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input id="save1Btn" type="button" value="保存" class="layui-btn">
            </div>
        </div>
    </form>
</script>
<script id="change3" type="text/html">
    <form class="layui-form" action="" style="padding: 20px" id="change3Form" lay-filter="storeForm" >
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">数量</label>
            <div class="layui-input-inline">
                <input type="number" name="num3"  id="num3" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input id="save3Btn" type="button" value="保存" class="layui-btn">
            </div>
        </div>
    </form>
</script>
<script id="change2" type="text/html">
    <form class="layui-form" action="" style="padding: 20px" id="change2Form" lay-filter="storeForm" >
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">数量</label>
            <div class="layui-input-inline">
                <input type="number" name="num2" id="num2"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">目标仓库</label>
            <div class="layui-input-inline">
                <select id="toStoreId" name="toStoreId"  lay-verify="" lay-search="">

                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input id="save2Btn" type="button" value="保存" class="layui-btn">
            </div>
        </div>
    </form>
</script>

<!-- 表格操作工具条模版 -->
<script id="operateTemplate" type="text/html">
    <input type="button" value="进入仓库" lay-event="goStroe" class="layui-btn layui-btn-xs"/>
    <input type="button" value="编辑" lay-event="edit" class="layui-btn layui-btn-xs"/>
    <input type="button" value="删除" lay-event="del" class="layui-btn layui-btn-xs layui-btn-danger"/>
</script>

<!-- 新增/编辑用户弹窗中的html模版  -->
<script id="storeFormTemplate" type="text/html">
    <form class="layui-form" action="" style="padding: 20px" id="storeForm" lay-filter="storeForm" >
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">仓库名称</label>
            <div class="layui-input-inline">
                <input type="text" name="name" id="name" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">仓库地址</label>
            <div class="layui-input-inline">
                <input type="text" name="address" id="address" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">管理员</label>
            <div class="layui-input-inline">
                <input type="text" name="admin" id="admin" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">管理员电话</label>
            <div class="layui-input-inline">
                <input type="number" name="adminTel" id="adminTel" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属商店</label>
            <div class="layui-input-inline">
                <select id="shopId" name="shopId" lay-verify="" lay-search="">

                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input id="saveBtn" type="button" value="保存" class="layui-btn">
            </div>
        </div>
    </form>
</script>


<script type="text/javascript" src="/plugins/layui/layui.js"></script>
<script type="text/javascript" src="/js/store.js"></script>

<script>

</script>
</body>
</html>